var verify_vendor_block = JSON.parse('{"CODE":0, "ACTION":"","LEVEL":"T1", "MSG":"","DATA":"","SCRIPTNAME":"verify_vendor_block"}');
//黑名单供应商的商品不允许激活
if (!isNull(vendorBlackList) && !isNull(item_status) && (item_status == 'A' || item_status == 'O' || item_status == 'S')) {
    var blockFlag = false;
    //判断是否为黑名单
    for (var vvb1 = 0; vvb1 < vendorBlackList.length; vvb1++) {
        var vendorInfoListElement = vendorBlackList[vvb1];
        if (vendorInfoListElement.isBlack == 1) {
            blockFlag = true;
        }
    }
    if (blockFlag ) {
        verify_vendor_block.CODE = 2;
        verify_vendor_block.ACTION = 'risk';
        verify_vendor_block.MSG = '黑名单供应商的商品不允许激活';
    }
}


JSON.stringify(verify_vendor_block);